package containners

import "fmt"

var luquxianMap = make(map[string]float32)

func Queryluquxian() {

	luquxianMap["重庆"] = 450
	luquxianMap["成都"] = 460
	luquxianMap["北京"] = 600
	luquxianMap["上海"] = 500
	luquxianMap["黑龙江"] = 420
	var address string
	fmt.Println("请输入查询地址")
	fmt.Scanln(&address)
	if luquxianMap[address] == 0 {

		fmt.Println("未查询到该地域的信息，请确认后再试")

	} else {
		fmt.Println(address, "的录取线为：", luquxianMap[address])
	}
}
func Tongji() {

	Queryluquxian()
	for k, v := range luquxianMap {
		if v > 450 {
			fmt.Println("满足的地点是", k)

		}
	}

}
